package com.triptogether.utils.ws;

public class WebServiceCons {
	
	public static final String ERROR_OCCOURD_IN_TRIPTOGETHER_SERVERS = "Error occourd in TripTogether Servers";

	private static final String PORT = "8080";
	private static final String IP = "10.0.0.3";
//	private static final String IP = "env-0977952.jelastic.neohost.net";
	private static final String FULL_IP = IP + ":" + PORT;
	private static final String SERVICE_URL = "http://" + FULL_IP +
	                                          "/TripTogetherWS/webservices";

	/*
	 * GCM
	 */
	private static final String GCM_SERVICE = "/gcm";
	private static final String REGISTER_USER_LOGGED_IN_METHOD = "/registerUserLoggedIn";
	private static final String REGISTER_USER_LOGGED_OUT_METHOD = "/registerUserLoggedOut";
	private static final String SEND_CHAT_MESSAGE_METHOD = "/sendChatMessage";
	public static final String REGISTER_USER_LOGGED_IN_URL = SERVICE_URL + GCM_SERVICE +
	                                                         REGISTER_USER_LOGGED_IN_METHOD;
	public static final String REGISTER_USER_LOGGED_OUT_URL = SERVICE_URL + GCM_SERVICE +
	                                                         REGISTER_USER_LOGGED_OUT_METHOD;
	public static final String SEND_CHAT_MESSAGE_URL = SERVICE_URL + GCM_SERVICE +
	                                                   SEND_CHAT_MESSAGE_METHOD;
}
